<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .topDiv{
            width: 500px;
            border: 2px solid #000;
        }
        .floatDiv{
            width: 100px;
            height: 100px;
            border: 2px dotted #ff0000;
            color: #ff0000;
            margin: 4px;
            float: left;
        }
        .bottomDiv{
            width: 500px;
            height: 100px;
            border: 2px dotted #000;
            margin: 5px 0;
        }
        /* .clearfix{
            clear: both;
        } */
    </style>
</head>
<body>
    <div class="topDiv">
        <div class="floatDiv">float left</div>
        <div class="textDiv">
            啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
            啊啊啊啊啊啊阿啊啊啊啊啊啊啊啊阿啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
        </div>
        <!-- <div class="clearfix"></div> -->
    </div>
    <div class="bottomDiv">
        红红火火恍恍惚惚或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或或
    </div>
</body>
</html>